﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DP.RecallDeal.Interface.ObjectTransformer
{
    [Serializable]
    public sealed class MappingException : Exception
    {
        public MappingException()
        {
        }

        public MappingException(string message) : base(message)
        {
            this.Message = message;
        }

        public MappingException(string message, Exception innerException) : base(message, innerException)
        {
            this.Message = message;
            this.InnerException = innerException;
        }

        public new Exception InnerException { get; set; }
        public new string Message { get; set; }
    }
}
